<!DOCTYPE html>
<html lang="zh-CN"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"
      layout:decorator="model/boardModel">


<body>

<header class="main-header" th:fragment="header">

    <!-- Logo -->
    <a href="index2.html" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b>q</b>hs</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><b>全换机</b></span>
    </a>

    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
        </a>
        <!-- Navbar Right Menu -->
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">

                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="../../dist/img/guanli.jpg" class="user-image" alt=""/>
                        <span class="hidden-xs">欢迎您：<shiro:principal property="userName" /></span>
                    </a>
                    <!--<ul class="dropdown-menu">
                        &lt;!&ndash; User image &ndash;&gt;
                        <li class="user-header">
                            <img src="../../dist/img/guanli.jpg" class="img-circle" alt="User Image"/>

                        </li>
                        <li class="user-body">
                            <div class="pull-right">
                                <a th:href="@{/logout}" class="btn btn-default btn-flat">个人中心</a>
                            </div>
                        </li>
                        <li class="user-footer">
                            <div class="pull-right">
                                <a th:href="@{/logout}" class="btn btn-default btn-flat">注销</a>
                            </div>
                        </li>
                    </ul>-->
                </li>
                <li>
                    <a th:href="@{/userCentre}" class="fa  fa-user-md">个人中心</a>
                </li>
                <li>
                    <a th:href="@{/logout}" ><i class="fa fa-gears"></i>注销</a>
                </li>
            </ul>
        </div>

    </nav>
</header>

</body>
</html>
